package com.visionblue.business.ship.page.register.register

import com.visionblue.business.ship.base.BaseRepository
import com.visionblue.business.ship.model.Results
import com.visionblue.business.ship.model.repository.RemoteRepository

/**
 * @author: xlh
 * @date: 2020-06-07 10:02 PM
 * @desc:
 */
class RegisterRepository() :
    BaseRepository() {

    suspend fun validatePinAndSnCode(pinCode: String, snCode: String): Results<Any> {
        return safeApiCall(call = { RemoteRepository.validateDeviceInfo(pinCode, snCode) })
    }

}